require "core"

class UserGroup < ActiveRecord::Base
  include LockDown::Core::SystemObjects
  include LockDown::Core::Users
  
  belongs_to :role
  has_and_belongs_to_many :system_objects
  has_and_belongs_to_many :users

  validates_presence_of :name, :role_id
end
